package com.polaris.live.im.sfs.core.bean

import com.smartfoxserver.v2.entities.data.ISFSObject
import sfs2x.client.entities.Room
import sfs2x.client.requests.ExtensionRequest

/**
 * MessageRequest
 *
 * @author Created by lucas on 2023/10/18 20:37
 */
abstract class MessageRequest(
    /**
     * 消息id
     */
    val msgId: String,
    /**
     * 消息命令
     */
    val command: String,
    /**
     * 消息参数
     */
    val params: ISFSObject,
    /**
     * 房间，不是房间消息不用传
     */
    val reqRoom: Room? = null
) : ExtensionRequest(command, params, reqRoom)